﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace CalemShop.Classes
{
    public class CustomerSorter : IComparer
    {
        int IComparer.Compare(object x, object y)
        {
            if (x != null && y != null)
            {
                string sx = x.ToString();
                string sy = y.ToString();
                return string.Compare(sx, sy);
            }

            return 0;
        }
    }
}
